
package com.lbssoft.datalink.model;

import java.util.LinkedHashMap;
import java.util.Map;


/*
 * @ClassName:  Attribute   
 * @Description: 设备属性数据，包括电量，卫星颗粒，GSM信号，等键值对形式
 * 目前有数据sat:卫星颗粒数，ignition:点火开关状态，rssi：无线信号0-4四个等级，battery：电池电量
 * @author: Riven
 * @date:   2017年7月10日 上午9:46:39   
 *     
 * @Copyright: 2017 www.lbssoft.com Inc. All rights reserved. 
 */
public class Attribute extends BaseMsg {
    public Attribute() {
        super();
        setType(MsgType.ATTRIBUTES);
    }

    private long deviceId;

    private String deviceUUID;

    private Map<String, Object> attributes = new LinkedHashMap<>();

    public Map<String, Object> getAttributes() {
        return attributes;
    }

    public void setAttributes(Map<String, Object> attributes) {
        this.attributes = attributes;
    }

    public long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceUUID() {
        return deviceUUID;
    }

    public void setDeviceUUID(String deviceUUID) {
        this.deviceUUID = deviceUUID;
    }
}